
<form id="pagerForm" action="{:U("Product/lookpro")}">
	<input type="hidden" name="pageNum" value="1" />
	<input type="hidden" name="numPerPage" value="${model.numPerPage}" />
	<input type="hidden" name="orderField" value="${param.orderField}" />
	<input type="hidden" name="orderDirection" value="${param.orderDirection}" />
</form>

<div class="pageHeader">
	<form rel="pagerForm" method="post" action="{:U("Product/lookpro")}" onsubmit="return dwzSearch(this, 'dialog');">
	<div class="searchBar">
		<ul class="searchContent">
			<li>
				<label>关键字:</label>
				<input class="textInput" name="keyword" value="{$keyword}" type="text">
			</li>	  
		</ul>
		<div class="subBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">查询</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" multLookup="orgId" warn="请选择产品">选择带回</button></div></div></li>
			</ul>
		</div>
	</div>
	</form>
</div>
<div class="pageContent">

	<table class="table" layoutH="118" targetType="dialog" width="100%">
		<thead>
			<tr>
				<th width="30"><input type="checkbox" class="checkboxCtrl" group="orgId" /></th>
				<th orderfield="orgName">产品ID</th>
				<th orderfield="orgNum">产品名称</th>
				<th orderfield="leader">产品分类</th>
				<th orderfield="creator">产品状态</th>
			</tr>
		</thead>
		<tbody>
			<volist name="info" id="t">
				<tr>
					<td><input type="checkbox" name="orgId" value="<php>echo '{id:'.$t['id'].'}';</php>"/></td>
					<td>{$t['id']}</td>
					<td>{$t['name']}</td>
					<td>{$t['mian_cat']}</td>
					<td>{if $t['stauts'] == 1} 上架 {else} 下架 {/if}</td>
				</tr>
			</volist>
		</tbody>
	</table>
</div>